/*    */ package com.zimbra.cs.account.ldap;
/*    */ 
/*    */ import com.zimbra.common.service.ServiceException;
/*    */ import com.zimbra.cs.account.Account;
/*    */ import com.zimbra.cs.account.Domain;
/*    */ import com.zimbra.cs.account.Entry;
/*    */ import com.zimbra.cs.account.Provisioning;
/*    */ import com.zimbra.cs.account.auth.AuthMechanism.AuthMech;
/*    */ import com.zimbra.cs.ldap.LdapClient;
/*    */ import com.zimbra.cs.ldap.LdapTODO.TODO;
/*    */ import com.zimbra.cs.ldap.SearchLdapOptions.SearchLdapVisitor;
/*    */ import com.zimbra.cs.ldap.ZLdapFilter;
/*    */ import com.zimbra.cs.mime.MimeTypeInfo;
/*    */ import java.io.PrintWriter;
/*    */ import java.util.List;
/*    */ import java.util.Map;
/*    */ import java.util.Set;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public abstract class LdapProv
/*    */   extends Provisioning
/*    */ {
/*    */   protected LdapDIT mDIT;
/*    */   protected LdapHelper helper;
/*    */   
/*    */   protected LdapProv()
/*    */   {
/* 48 */     LdapClient.initialize();
/*    */   }
/*    */   
/*    */   public static LdapProv getInst() throws ServiceException {
/* 52 */     Provisioning prov = Provisioning.getInstance();
/*    */     
/* 54 */     if ((prov instanceof LdapProv)) {
/* 55 */       return (LdapProv)prov;
/*    */     }
/* 57 */     throw ServiceException.FAILURE("not an instance of LdapProv", null);
/*    */   }
/*    */   
/*    */   protected void setDIT()
/*    */   {
/* 62 */     this.mDIT = new LdapDIT(this);
/*    */   }
/*    */   
/*    */   public LdapDIT getDIT() {
/* 66 */     return this.mDIT;
/*    */   }
/*    */   
/*    */   protected void setHelper(LdapHelper helper) {
/* 70 */     this.helper = helper;
/*    */   }
/*    */   
/*    */   public LdapHelper getHelper() {
/* 74 */     return this.helper;
/*    */   }
/*    */   
/*    */   public abstract int getAccountCacheSize();
/*    */   
/*    */   public abstract double getAccountCacheHitRate();
/*    */   
/*    */   public abstract int getCosCacheSize();
/*    */   
/*    */   public abstract double getCosCacheHitRate();
/*    */   
/*    */   public abstract int getDomainCacheSize();
/*    */   
/*    */   public abstract double getDomainCacheHitRate();
/*    */   
/*    */   public abstract int getServerCacheSize();
/*    */   
/*    */   public abstract double getServerCacheHitRate();
/*    */   
/*    */   public abstract int getUCServiceCacheSize();
/*    */   
/*    */   public abstract double getUCServiceCacheHitRate();
/*    */   
/*    */   public abstract int getZimletCacheSize();
/*    */   
/*    */   public abstract double getZimletCacheHitRate();
/*    */   
/*    */   public abstract int getGroupCacheSize();
/*    */   
/*    */   public abstract double getGroupCacheHitRate();
/*    */   
/*    */   public abstract int getXMPPCacheSize();
/*    */   
/*    */   public abstract double getXMPPCacheHitRate();
/*    */   
/*    */   public abstract void waitForLdapServer();
/*    */   
/*    */   public abstract void alwaysUseMaster();
/*    */   
/*    */   public abstract void dumpLdapSchema(PrintWriter paramPrintWriter)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void renameDomain(String paramString1, String paramString2)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void searchOCsForSuperClasses(Map<String, Set<String>> paramMap);
/*    */   
/*    */   public abstract void getAttrsInOCs(String[] paramArrayOfString, Set<String> paramSet)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract List<MimeTypeInfo> getAllMimeTypesByQuery()
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract List<MimeTypeInfo> getMimeTypesByQuery(String paramString)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void externalLdapAuth(Domain paramDomain, AuthMechanism.AuthMech paramAuthMech, Account paramAccount, String paramString, Map<String, Object> paramMap)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void externalLdapAuth(Domain paramDomain, AuthMechanism.AuthMech paramAuthMech, String paramString1, String paramString2, Map<String, Object> paramMap)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void zimbraLdapAuthenticate(Account paramAccount, String paramString, Map<String, Object> paramMap)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void removeFromCache(Entry paramEntry);
/*    */   
/*    */   @LdapTODO.TODO
/*    */   public abstract void searchLdapOnMaster(String paramString1, String paramString2, String[] paramArrayOfString, SearchLdapOptions.SearchLdapVisitor paramSearchLdapVisitor)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void searchLdapOnMaster(String paramString, ZLdapFilter paramZLdapFilter, String[] paramArrayOfString, SearchLdapOptions.SearchLdapVisitor paramSearchLdapVisitor)
/*    */     throws ServiceException;
/*    */   
/*    */   @LdapTODO.TODO
/*    */   public abstract void searchLdapOnReplica(String paramString1, String paramString2, String[] paramArrayOfString, SearchLdapOptions.SearchLdapVisitor paramSearchLdapVisitor)
/*    */     throws ServiceException;
/*    */   
/*    */   public abstract void searchLdapOnReplica(String paramString, ZLdapFilter paramZLdapFilter, String[] paramArrayOfString, SearchLdapOptions.SearchLdapVisitor paramSearchLdapVisitor)
/*    */     throws ServiceException;
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/account/ldap/LdapProv.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */